<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>课程表</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f5f5f5;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }
        
        .container {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            width: 90%;
            max-width: 1200px;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            text-align: center;
        }
        
        th, td {
            border: 1px solid #ddd;
            padding: 15px;
        }
        
        th {
            background-color: #e6f7ff;
            color: #333;
        }
        
        .time-cell {
            width: 50px;
            background-color: #f5f5f5;
        }
        
        .course-cell {
            position: relative;
        }
        
        .course-block {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding-top: 5px;
            font-size: 14px;
            color: white;
            border-radius: 8px;
        }
        
        .red {
            background-color: red;
        }
        
        .blue {
            background-color: blue;
        }
        
        .yellow {
            background-color: yellow;
        }
        
        .green {
            background-color: green;
        }
        
        .cyan {
            background-color: cyan;
        }
    </style>
</head>
<body>
    <div class="container">
        <table>
            <thead>
                <tr>
                    <th></th>
                    <th>周一</th>
                    <th>周二</th>
                    <th>周三</th>
                    <th>周四</th>
                    <th>周五</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td class="time-cell">1<br>8:30</td>
                    <td class="course-cell" rowspan="2"><div class="course-block red">大学英语(IV)@10203</div></td>
                    <td class="course-cell"></td>
                    <td class="course-cell" rowspan="2"><div class="course-block blue">大学体育(IV)</div></td>
                    <td class="course-cell"></td>
                    <td class="course-cell"></td>
                </tr>
                <tr>
                    <td class="time-cell">2<br>9:30</td>
                    <td class="course-cell"></td>
                    <td class="course-cell"></td>
                    <td class="course-cell"></td>
                </tr>
                <tr>
                    <td class="time-cell">3<br>10:30</td>
                    <td class="course-cell"></td>
                    <td class="course-cell" rowspan="2"><div class="course-block yellow">信号与系统@11302</div></td>
                    <td class="course-cell" rowspan="2"><div class="course-block green">形势与政策</div></td>
                    <td class="course-cell"></td>
                    <td class="course-cell" rowspan="2"><div class="course-block cyan">数据结构与算法分析</div></td>
                </tr>
                <tr>
                    <td class="time-cell">4<br>11:30</td>
                    <td class="course-cell"></td>
                    <td class="course-cell"></td>

                </tr>
            </tbody>
        </table>
    </div>
</body>
</html>